<pre>
<?
	include('configuration.php');
	$conf = new JConfig();
	
	mysql_connect($conf->host, $conf->user, $conf->password);
	mysql_select_db($conf->db);
	mysql_query("SET NAMES utf8");
	mysql_query("SET CHARACTER SET utf8");
	
	$r = mysql_query('SELECT product_full_image FROM jos_vm_product');
	//UPDATE jos_vm_product
	//	SET product_full_image = REPLACE(product_full_image, "components/com_virtuemart/shop_image/product/", "")');
			

	while($a = mysql_fetch_assoc($r))
	{
		print_r($a);
	}
	
?>